const TokenKey: string = 'CAMPUS-TOKEN'

export function getTokenKey(): string {
  return TokenKey
};

export function getToken(): string {
  return uni.getStorageSync(TokenKey)
}

export function setToken(token: string): void {
  return uni.setStorageSync(TokenKey, token)
}

export function removeToken(): void {
  return uni.removeStorageSync(TokenKey)
}
